[pageId].js 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121
  1. "use strict";
  2. (() => {
  3. var exports = {};
  4. exports.id = 93516;
  5. exports.ids = [93516,64820,8668,29807];
  6. exports.modules = {
  7. /***/ 63045:
  8. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  9. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  10. __webpack_require__.r(__webpack_exports__);
  11. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  12. /* harmony export */ "default": () => (/* binding */ pageWrapperTemplate),
  13. /* harmony export */ "getServerSideProps": () => (/* binding */ getServerSideProps),
  14. /* harmony export */ "getStaticPaths": () => (/* binding */ getStaticPaths),
  15. /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
  16. /* harmony export */ });
  17. /* harmony import */ var _sentry_server_config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96270);
  18. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58097);
  19. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__);
  20. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(20997);
  21. /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__);
  22. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(71853);
  23. /* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_3__);
  24. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(60866);
  25. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4__);
  26. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(6022);
  27. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_5__);
  28. /* harmony import */ var _utils_getPageVersesParams__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(53819);
  29. /* harmony import */ var _utils_getQuranReaderData__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(50938);
  30. /* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(92684);
  31. /* harmony import */ var _components_NextSeoWrapper__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(25869);
  32. /* harmony import */ var _components_QuranReader__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(14116);
  33. /* harmony import */ var _components_QuranReader_hooks_useFetchPagesLookup__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(24881);
  34. /* harmony import */ var _components_QuranReader_hooks_useFetchPageVerses__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(39415);
  35. /* harmony import */ var _dls_Spinner_Spinner__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(7190);
  36. /* harmony import */ var _hooks_useGetMushaf__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(23830);
  37. /* harmony import */ var _pages_error__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(36049);
  38. /* harmony import */ var _redux_defaultSettings_util__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(17241);
  39. /* harmony import */ var _redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(62093);
  40. /* harmony import */ var _utils_api__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(4917);
  41. /* harmony import */ var _utils_chapter__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(95892);
  42. /* harmony import */ var _utils_locale__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(24709);
  43. /* harmony import */ var _utils_navigation__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(57933);
  44. /* harmony import */ var _utils_page__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(94007);
  45. /* harmony import */ var _utils_seo__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(21823);
  46. /* harmony import */ var _utils_staticPageGeneration__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(45137);
  47. /* harmony import */ var _utils_validator__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(41051);
  48. /* harmony import */ var types_QuranReader__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(50467);
  49. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([_components_QuranReader__WEBPACK_IMPORTED_MODULE_10__, _components_QuranReader_hooks_useFetchPagesLookup__WEBPACK_IMPORTED_MODULE_11__, _components_QuranReader_hooks_useFetchPageVerses__WEBPACK_IMPORTED_MODULE_12__, _pages_error__WEBPACK_IMPORTED_MODULE_15__, _utils_navigation__WEBPACK_IMPORTED_MODULE_21__]);
  50. ([_components_QuranReader__WEBPACK_IMPORTED_MODULE_10__, _components_QuranReader_hooks_useFetchPagesLookup__WEBPACK_IMPORTED_MODULE_11__, _components_QuranReader_hooks_useFetchPageVerses__WEBPACK_IMPORTED_MODULE_12__, _pages_error__WEBPACK_IMPORTED_MODULE_15__, _utils_navigation__WEBPACK_IMPORTED_MODULE_21__] = __webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__);
  51. const QuranicPage = ({ hasError , pageVerses: initialData })=>{
  52. const { t , lang } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_4___default()("common");
  53. const { query: { pageId } , } = (0,next_router__WEBPACK_IMPORTED_MODULE_3__.useRouter)();
  54. const mushafId = (0,_hooks_useGetMushaf__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Z)();
  55. const { data: pageVersesData , isLoading: isPageVersesLoading , error: pageVersesError , } = (0,_components_QuranReader_hooks_useFetchPageVerses__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Z)(String(pageId), initialData);
  56. const isUsingDefaultFont = (0,react_redux__WEBPACK_IMPORTED_MODULE_5__.useSelector)(_redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_17__/* .selectIsUsingDefaultFont */ .i9);
  57. const quranReaderStyles = (0,react_redux__WEBPACK_IMPORTED_MODULE_5__.useSelector)(_redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_17__/* .selectQuranReaderStyles */ .Pt, react_redux__WEBPACK_IMPORTED_MODULE_5__.shallowEqual);
  58. const { data: pagesLookupData , isLoading: isPagesLookupLoading , hasError: pagesLookupError , } = (0,_components_QuranReader_hooks_useFetchPagesLookup__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Z)(String(pageId), types_QuranReader__WEBPACK_IMPORTED_MODULE_25__/* .QuranReaderDataType.Page */ .Qi.Page, initialData, quranReaderStyles, isUsingDefaultFont);
  59. if (hasError || pageId > _utils_page__WEBPACK_IMPORTED_MODULE_22__/* .PAGES_MUSHAF_MAP */ .Uh[Number(mushafId)] || pagesLookupError || pageVersesError) {
  60. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_pages_error__WEBPACK_IMPORTED_MODULE_15__["default"], {
  61. statusCode: 500
  62. });
  63. }
  64. if (isPageVersesLoading || isPagesLookupLoading) {
  65. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_dls_Spinner_Spinner__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Z, {});
  66. }
  67. const path = (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_21__/* .getPageNavigationUrl */ .GK)(Number(pageId));
  68. const data = (0,_utils_getQuranReaderData__WEBPACK_IMPORTED_MODULE_7__["default"])(pagesLookupData, pageVersesData);
  69. return /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, {
  70. children: [
  71. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_NextSeoWrapper__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Z, {
  72. title: `${t("page")} ${(0,_utils_locale__WEBPACK_IMPORTED_MODULE_20__/* .toLocalizedNumber */ .rQ)(Number(pageId), lang)}`,
  73. description: (0,_utils_seo__WEBPACK_IMPORTED_MODULE_23__/* .getPageOrJuzMetaDescription */ .ig)(data),
  74. canonical: (0,_utils_navigation__WEBPACK_IMPORTED_MODULE_21__/* .getCanonicalUrl */ .Z2)(lang, path),
  75. languageAlternates: (0,_utils_locale__WEBPACK_IMPORTED_MODULE_20__/* .getLanguageAlternates */ .qc)(path)
  76. }),
  77. /*#__PURE__*/ (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(_components_QuranReader__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z, {
  78. initialData: data,
  79. id: String(pageId),
  80. quranReaderDataType: types_QuranReader__WEBPACK_IMPORTED_MODULE_25__/* .QuranReaderDataType.Page */ .Qi.Page
  81. })
  82. ]
  83. });
  84. };
  85. // eslint-disable-next-line react-func/max-lines-per-function
  86. const getStaticProps$1 = async ({ params , locale })=>{
  87. const pageIdNumber = Number(params.pageId);
  88. const defaultMushafId = (0,_utils_api__WEBPACK_IMPORTED_MODULE_18__/* .getMushafId */ .$P)((0,_redux_defaultSettings_util__WEBPACK_IMPORTED_MODULE_16__/* .getQuranReaderStylesInitialState */ .kq)(locale).quranFont, (0,_redux_defaultSettings_util__WEBPACK_IMPORTED_MODULE_16__/* .getQuranReaderStylesInitialState */ .kq)(locale).mushafLines).mushaf;
  89. const LONGEST_MUSHAF_ID = types_QuranReader__WEBPACK_IMPORTED_MODULE_25__/* .Mushaf.Indopak15Lines */ .RA.Indopak15Lines;
  90. // we need to validate the pageId first to save calling BE since we haven't set the valid paths inside getStaticPaths to avoid pre-rendering them at build time.
  91. if (!(0,_utils_validator__WEBPACK_IMPORTED_MODULE_24__/* .isValidPageNumber */ .vU)(pageIdNumber, LONGEST_MUSHAF_ID)) {
  92. return {
  93. notFound: true
  94. };
  95. }
  96. // The defaultMushafId is 2 representing the Madinah Mushaf
  97. // PAGES_MUSHAF_MAP will return the mushaf total number of pages when passed a mushafId
  98. // Mushaf ID: 2 (Madinah) -> Pages Count: 604 pages
  99. const defaultMushafPagesCount = _utils_page__WEBPACK_IMPORTED_MODULE_22__/* .PAGES_MUSHAF_MAP */ .Uh[defaultMushafId];
  100. // In case the requested page/[pageId] is greater than the SSR loaded default mushaf total pages count
  101. // we set the pageId to the last available page, otherwise we load the passed pageID
  102. const pageId = pageIdNumber > defaultMushafPagesCount ? String(defaultMushafPagesCount) : String(params.pageId);
  103. try {
  104. const pageVersesResponse = await (0,_api__WEBPACK_IMPORTED_MODULE_8__/* .getPageVerses */ .iw)(pageId, locale, (0,_utils_getPageVersesParams__WEBPACK_IMPORTED_MODULE_6__["default"])(defaultMushafId, (0,_utils_api__WEBPACK_IMPORTED_MODULE_18__/* .getDefaultWordFields */ .hD)((0,_redux_defaultSettings_util__WEBPACK_IMPORTED_MODULE_16__/* .getQuranReaderStylesInitialState */ .kq)(locale).quranFont)));
  105. const pagesLookupResponse = await (0,_api__WEBPACK_IMPORTED_MODULE_8__/* .getPagesLookup */ .IP)({
  106. pageNumber: Number(pageId),
  107. mushaf: defaultMushafId
  108. });
  109. const chaptersData = await (0,_utils_chapter__WEBPACK_IMPORTED_MODULE_19__/* .getAllChaptersData */ .T4)(locale);
  110. return {
  111. props: {
  112. chaptersData,
  113. pageVerses: (0,_utils_getQuranReaderData__WEBPACK_IMPORTED_MODULE_7__["default"])(pagesLookupResponse, pageVersesResponse)
  114. },
  115. revalidate: _utils_staticPageGeneration__WEBPACK_IMPORTED_MODULE_26__/* .ONE_WEEK_REVALIDATION_PERIOD_SECONDS */ .Dp
  116. };
  117. } catch (error) {
  118. return {
  119. props: {
  120. hasError: true
  121. },
  122. revalidate: _utils_staticPageGeneration__WEBPACK_IMPORTED_MODULE_26__/* .REVALIDATION_PERIOD_ON_ERROR_SECONDS */ .eW
  123. };
  124. }
  125. };
  126. const getStaticPaths = async ()=>({
  127. paths: [],
  128. fallback: "blocking"
  129. });
  130. var serverComponentModule = /*#__PURE__*/Object.freeze({
  131. __proto__: null,
  132. getStaticProps: getStaticProps$1,
  133. getStaticPaths: getStaticPaths,
  134. 'default': QuranicPage
  135. });
  136. /*
  137. * This file is a template for the code which will be substituted when our webpack loader handles non-API files in the
  138. * `pages/` directory.
  139. *
  140. * We use `__SENTRY_WRAPPING_TARGET_FILE__.cjs` as a placeholder for the path to the file being wrapped. Because it's not a real package,
  141. * this causes both TS and ESLint to complain, hence the pragma comments below.
  142. */
  143. const userPageModule = serverComponentModule ;
  144. const pageComponent = userPageModule ? userPageModule.default : undefined;
  145. const origGetInitialProps = pageComponent ? pageComponent.getInitialProps : undefined;
  146. const origGetStaticProps = userPageModule ? userPageModule.getStaticProps : undefined;
  147. const origGetServerSideProps = userPageModule ? userPageModule.getServerSideProps : undefined;
  148. // eslint-disable-next-line @typescript-eslint/no-explicit-any
  149. const getInitialPropsWrappers = {
  150. '/_app': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapAppGetInitialPropsWithSentry,
  151. '/_document': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapDocumentGetInitialPropsWithSentry,
  152. '/_error': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapErrorGetInitialPropsWithSentry,
  153. };
  154. const getInitialPropsWrapper = getInitialPropsWrappers['/page/[pageId]'] || _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetInitialPropsWithSentry;
  155. if (pageComponent && typeof origGetInitialProps === 'function') {
  156. pageComponent.getInitialProps = getInitialPropsWrapper(origGetInitialProps) ;
  157. }
  158. const getStaticProps =
  159. typeof origGetStaticProps === 'function'
  160. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetStaticPropsWithSentry(origGetStaticProps, '/page/[pageId]')
  161. : undefined;
  162. const getServerSideProps =
  163. typeof origGetServerSideProps === 'function'
  164. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetServerSidePropsWithSentry(origGetServerSideProps, '/page/[pageId]')
  165. : undefined;
  166. const pageWrapperTemplate = pageComponent ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapPageComponentWithSentry(pageComponent ) : pageComponent;
  167. __webpack_async_result__();
  168. } catch(e) { __webpack_async_result__(e); } });
  169. /***/ }),
  170. /***/ 53819:
  171. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  172. __webpack_require__.r(__webpack_exports__);
  173. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  174. /* harmony export */ "default": () => (/* binding */ pageWrapperTemplate),
  175. /* harmony export */ "getServerSideProps": () => (/* binding */ getServerSideProps),
  176. /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
  177. /* harmony export */ });
  178. /* harmony import */ var _sentry_server_config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96270);
  179. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58097);
  180. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__);
  181. const getPageVersesParams = (mushafId, wordFields)=>{
  182. return {
  183. perPage: "all",
  184. mushaf: mushafId,
  185. filterPageWords: true,
  186. ...wordFields
  187. };
  188. };
  189. var serverComponentModule = /*#__PURE__*/Object.freeze({
  190. __proto__: null,
  191. 'default': getPageVersesParams
  192. });
  193. /*
  194. * This file is a template for the code which will be substituted when our webpack loader handles non-API files in the
  195. * `pages/` directory.
  196. *
  197. * We use `__SENTRY_WRAPPING_TARGET_FILE__.cjs` as a placeholder for the path to the file being wrapped. Because it's not a real package,
  198. * this causes both TS and ESLint to complain, hence the pragma comments below.
  199. */
  200. const userPageModule = serverComponentModule ;
  201. const pageComponent = userPageModule ? userPageModule.default : undefined;
  202. const origGetInitialProps = pageComponent ? pageComponent.getInitialProps : undefined;
  203. const origGetStaticProps = userPageModule ? userPageModule.getStaticProps : undefined;
  204. const origGetServerSideProps = userPageModule ? userPageModule.getServerSideProps : undefined;
  205. // eslint-disable-next-line @typescript-eslint/no-explicit-any
  206. const getInitialPropsWrappers = {
  207. '/_app': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapAppGetInitialPropsWithSentry,
  208. '/_document': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapDocumentGetInitialPropsWithSentry,
  209. '/_error': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapErrorGetInitialPropsWithSentry,
  210. };
  211. const getInitialPropsWrapper = getInitialPropsWrappers['/page/utils/getPageVersesParams'] || _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetInitialPropsWithSentry;
  212. if (pageComponent && typeof origGetInitialProps === 'function') {
  213. pageComponent.getInitialProps = getInitialPropsWrapper(origGetInitialProps) ;
  214. }
  215. const getStaticProps =
  216. typeof origGetStaticProps === 'function'
  217. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetStaticPropsWithSentry(origGetStaticProps, '/page/utils/getPageVersesParams')
  218. : undefined;
  219. const getServerSideProps =
  220. typeof origGetServerSideProps === 'function'
  221. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetServerSidePropsWithSentry(origGetServerSideProps, '/page/utils/getPageVersesParams')
  222. : undefined;
  223. const pageWrapperTemplate = pageComponent ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapPageComponentWithSentry(pageComponent ) : pageComponent;
  224. /***/ }),
  225. /***/ 50938:
  226. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  227. __webpack_require__.r(__webpack_exports__);
  228. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  229. /* harmony export */ "default": () => (/* binding */ pageWrapperTemplate),
  230. /* harmony export */ "getServerSideProps": () => (/* binding */ getServerSideProps),
  231. /* harmony export */ "getStaticProps": () => (/* binding */ getStaticProps)
  232. /* harmony export */ });
  233. /* harmony import */ var _sentry_server_config_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(96270);
  234. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(58097);
  235. /* harmony import */ var _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__);
  236. const getQuranReaderData = (pagesLookupData, pageVersesData)=>{
  237. return {
  238. ...pageVersesData,
  239. pagesLookup: pagesLookupData,
  240. metaData: {
  241. numberOfVerses: pageVersesData.verses.length
  242. }
  243. };
  244. };
  245. var serverComponentModule = /*#__PURE__*/Object.freeze({
  246. __proto__: null,
  247. 'default': getQuranReaderData
  248. });
  249. /*
  250. * This file is a template for the code which will be substituted when our webpack loader handles non-API files in the
  251. * `pages/` directory.
  252. *
  253. * We use `__SENTRY_WRAPPING_TARGET_FILE__.cjs` as a placeholder for the path to the file being wrapped. Because it's not a real package,
  254. * this causes both TS and ESLint to complain, hence the pragma comments below.
  255. */
  256. const userPageModule = serverComponentModule ;
  257. const pageComponent = userPageModule ? userPageModule.default : undefined;
  258. const origGetInitialProps = pageComponent ? pageComponent.getInitialProps : undefined;
  259. const origGetStaticProps = userPageModule ? userPageModule.getStaticProps : undefined;
  260. const origGetServerSideProps = userPageModule ? userPageModule.getServerSideProps : undefined;
  261. // eslint-disable-next-line @typescript-eslint/no-explicit-any
  262. const getInitialPropsWrappers = {
  263. '/_app': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapAppGetInitialPropsWithSentry,
  264. '/_document': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapDocumentGetInitialPropsWithSentry,
  265. '/_error': _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapErrorGetInitialPropsWithSentry,
  266. };
  267. const getInitialPropsWrapper = getInitialPropsWrappers['/page/utils/getQuranReaderData'] || _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetInitialPropsWithSentry;
  268. if (pageComponent && typeof origGetInitialProps === 'function') {
  269. pageComponent.getInitialProps = getInitialPropsWrapper(origGetInitialProps) ;
  270. }
  271. const getStaticProps =
  272. typeof origGetStaticProps === 'function'
  273. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetStaticPropsWithSentry(origGetStaticProps, '/page/utils/getQuranReaderData')
  274. : undefined;
  275. const getServerSideProps =
  276. typeof origGetServerSideProps === 'function'
  277. ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapGetServerSidePropsWithSentry(origGetServerSideProps, '/page/utils/getQuranReaderData')
  278. : undefined;
  279. const pageWrapperTemplate = pageComponent ? _sentry_nextjs__WEBPACK_IMPORTED_MODULE_1__.wrapPageComponentWithSentry(pageComponent ) : pageComponent;
  280. /***/ }),
  281. /***/ 39415:
  282. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  283. __webpack_require__.a(module, async (__webpack_handle_async_dependencies__, __webpack_async_result__) => { try {
  284. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  285. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  286. /* harmony export */ });
  287. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60866);
  288. /* harmony import */ var next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_0__);
  289. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6022);
  290. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_1__);
  291. /* harmony import */ var swr_immutable__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(79847);
  292. /* harmony import */ var _api__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(92684);
  293. /* harmony import */ var _hooks_useGetMushaf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(23830);
  294. /* harmony import */ var _pages_page_utils_getPageVersesParams__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(53819);
  295. /* harmony import */ var _redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(62093);
  296. /* harmony import */ var _utils_api__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4917);
  297. /* harmony import */ var _utils_apiPaths__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(46127);
  298. var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([swr_immutable__WEBPACK_IMPORTED_MODULE_2__]);
  299. swr_immutable__WEBPACK_IMPORTED_MODULE_2__ = (__webpack_async_dependencies__.then ? (await __webpack_async_dependencies__)() : __webpack_async_dependencies__)[0];
  300. /**
  301. * This hooks fetches the page's verses data by the pageId
  302. *
  303. * @param {string} pageId
  304. * @param {VersesResponse} initialData
  305. *
  306. * @returns {{ pageVersesResponse: VersesResponse; isLoading: boolean; error: any }}
  307. */ const useFetchPageVerses = (pageId, initialData)=>{
  308. const { lang: locale } = next_translate_useTranslation__WEBPACK_IMPORTED_MODULE_0___default()();
  309. const quranFont = (0,react_redux__WEBPACK_IMPORTED_MODULE_1__.useSelector)(_redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_6__/* .selectQuranFont */ .Ho, react_redux__WEBPACK_IMPORTED_MODULE_1__.shallowEqual);
  310. const isUsingDefaultFont = (0,react_redux__WEBPACK_IMPORTED_MODULE_1__.useSelector)(_redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_6__/* .selectIsUsingDefaultFont */ .i9);
  311. const mushafId = (0,_hooks_useGetMushaf__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Z)();
  312. const params = (0,_pages_page_utils_getPageVersesParams__WEBPACK_IMPORTED_MODULE_5__["default"])(mushafId, (0,_utils_api__WEBPACK_IMPORTED_MODULE_7__/* .getDefaultWordFields */ .hD)(quranFont));
  313. const { data , isValidating , error } = (0,swr_immutable__WEBPACK_IMPORTED_MODULE_2__["default"])((0,_utils_apiPaths__WEBPACK_IMPORTED_MODULE_8__/* .makePageVersesUrl */ .K2)(pageId, locale, params), async ()=>(0,_api__WEBPACK_IMPORTED_MODULE_3__/* .getPageVerses */ .iw)(pageId, locale, params), {
  314. fallbackData: initialData,
  315. revalidateOnMount: !isUsingDefaultFont
  316. });
  317. return {
  318. isLoading: isValidating,
  319. data,
  320. error
  321. };
  322. };
  323. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useFetchPageVerses);
  324. __webpack_async_result__();
  325. } catch(e) { __webpack_async_result__(e); } });
  326. /***/ }),
  327. /***/ 23830:
  328. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  329. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  330. /* harmony export */ "Z": () => (__WEBPACK_DEFAULT_EXPORT__)
  331. /* harmony export */ });
  332. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6022);
  333. /* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_redux__WEBPACK_IMPORTED_MODULE_0__);
  334. /* harmony import */ var _redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62093);
  335. /* harmony import */ var _utils_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4917);
  336. /**
  337. * Instead of repeating using multiple selectors to get the MushafId
  338. * in multiple components, we are introducing this hook to keep it DRY.
  339. *
  340. * TODO: apply it to everywhere using the mushafId
  341. *
  342. * @returns {Mushaf}
  343. */ const useGetMushaf = ()=>{
  344. const quranFont = (0,react_redux__WEBPACK_IMPORTED_MODULE_0__.useSelector)(_redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_1__/* .selectQuranFont */ .Ho, react_redux__WEBPACK_IMPORTED_MODULE_0__.shallowEqual);
  345. const mushafLines = (0,react_redux__WEBPACK_IMPORTED_MODULE_0__.useSelector)(_redux_slices_QuranReader_styles__WEBPACK_IMPORTED_MODULE_1__/* .selectQuranMushafLines */ .z$, react_redux__WEBPACK_IMPORTED_MODULE_0__.shallowEqual);
  346. const { mushaf } = (0,_utils_api__WEBPACK_IMPORTED_MODULE_2__/* .getMushafId */ .$P)(quranFont, mushafLines);
  347. return mushaf;
  348. };
  349. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useGetMushaf);
  350. /***/ }),
  351. /***/ 21823:
  352. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  353. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  354. /* harmony export */ "WQ": () => (/* binding */ createSEOConfig),
  355. /* harmony export */ "ig": () => (/* binding */ getPageOrJuzMetaDescription)
  356. /* harmony export */ });
  357. /* unused harmony export config */
  358. /* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(24709);
  359. /* harmony import */ var _lib_og__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11670);
  360. /* eslint-disable react-func/max-lines-per-function */
  361. const config = {
  362. siteName: "Quran.com",
  363. twitterHandle: "@app_quran",
  364. twitterCardType: "summary_large_image",
  365. facebookApp: "342185219529773",
  366. facebookPage: "603289706669016",
  367. appleAppName: "Quran - by Quran.com - قرآن",
  368. appleAppId: "1118663303",
  369. appleAppUrl: "https://apps.apple.com/us/app/quran-by-quran-com-qran/id1118663303",
  370. androidAppName: "Quran for Android",
  371. androidPackage: "com.quran.labs.androidquran",
  372. androidAppUrl: "https://play.google.com/store/apps/details?id=com.quran.labs.androidquran"
  373. };
  374. const isProduction = process.env.NEXT_PUBLIC_VERCEL_ENV === "production";
  375. function createSEOConfig({ title , description , canonicalUrl , locale } = {}) {
  376. const seoTitle = title || "";
  377. return {
  378. title: seoTitle,
  379. description,
  380. titleTemplate: "%s - Quran.com",
  381. defaultTitle: config.siteName,
  382. dangerouslySetAllPagesToNoFollow: !isProduction,
  383. dangerouslySetAllPagesToNoIndex: !isProduction,
  384. canonical: canonicalUrl,
  385. openGraph: {
  386. type: "website",
  387. locale: (0,_locale__WEBPACK_IMPORTED_MODULE_0__/* .getOpenGraphLocale */ .A3)(locale),
  388. url: canonicalUrl,
  389. title: seoTitle,
  390. description,
  391. images: [
  392. {
  393. url: (0,_lib_og__WEBPACK_IMPORTED_MODULE_1__/* .getDefaultOgImageUrl */ .qW)({
  394. locale
  395. }),
  396. width: 1200,
  397. height: 630,
  398. alt: config.siteName
  399. },
  400. ],
  401. // eslint-disable-next-line @typescript-eslint/naming-convention
  402. site_name: config.siteName
  403. },
  404. facebook: {
  405. appId: config.facebookApp
  406. },
  407. twitter: {
  408. handle: config.twitterHandle,
  409. site: config.twitterHandle,
  410. cardType: config.twitterCardType
  411. },
  412. additionalMetaTags: [
  413. {
  414. property: "fb:pages",
  415. content: config.facebookPage
  416. },
  417. // {
  418. // name: 'al:ios:url',
  419. // content: config.appleAppUrl,
  420. // },
  421. // {
  422. // name: 'al:ios:app_name',
  423. // content: config.appleAppName,
  424. // },
  425. // {
  426. // name: 'al:ios:app_store_id',
  427. // content: config.appleAppId,
  428. // },
  429. // {
  430. // name: 'al:android:url',
  431. // content: config.androidAppUrl,
  432. // },
  433. // {
  434. // name: 'al:android:app_name',
  435. // content: config.androidAppName,
  436. // },
  437. // {
  438. // name: 'al:android:package',
  439. // content: config.androidPackage,
  440. // },
  441. // {
  442. // name: 'apple-itunes-app',
  443. // content: `app-id=${config.appleAppId}`,
  444. // },
  445. {
  446. name: "Charset",
  447. content: "UTF-8"
  448. },
  449. {
  450. name: "Distribution",
  451. content: "Global"
  452. },
  453. {
  454. name: "Rating",
  455. content: "General"
  456. },
  457. {
  458. name: "theme-color",
  459. content: "#fff"
  460. },
  461. {
  462. name: "viewport",
  463. content: "width=device-width, initial-scale=1, shrink-to-fit=no"
  464. },
  465. ]
  466. };
  467. }
  468. /**
  469. * Concatenate the first 4 verses of the Page/Juz.
  470. *
  471. * @param {VersesResponse} response
  472. * @returns {string}
  473. */ const getPageOrJuzMetaDescription = (response)=>{
  474. return response.verses.slice(0, 4).map((verse)=>verse.textImlaeiSimple).join(" - ");
  475. };
  476. /***/ }),
  477. /***/ 75184:
  478. /***/ ((module) => {
  479. module.exports = require("@reduxjs/toolkit");
  480. /***/ }),
  481. /***/ 58097:
  482. /***/ ((module) => {
  483. module.exports = require("@sentry/nextjs");
  484. /***/ }),
  485. /***/ 59456:
  486. /***/ ((module) => {
  487. module.exports = require("@xstate/react");
  488. /***/ }),
  489. /***/ 59003:
  490. /***/ ((module) => {
  491. module.exports = require("classnames");
  492. /***/ }),
  493. /***/ 34741:
  494. /***/ ((module) => {
  495. module.exports = require("clipboard-copy");
  496. /***/ }),
  497. /***/ 62733:
  498. /***/ ((module) => {
  499. module.exports = require("fuse.js");
  500. /***/ }),
  501. /***/ 59606:
  502. /***/ ((module) => {
  503. module.exports = require("humps");
  504. /***/ }),
  505. /***/ 59969:
  506. /***/ ((module) => {
  507. module.exports = require("lodash/capitalize");
  508. /***/ }),
  509. /***/ 93908:
  510. /***/ ((module) => {
  511. module.exports = require("lodash/debounce");
  512. /***/ }),
  513. /***/ 12372:
  514. /***/ ((module) => {
  515. module.exports = require("lodash/findKey");
  516. /***/ }),
  517. /***/ 98492:
  518. /***/ ((module) => {
  519. module.exports = require("lodash/groupBy");
  520. /***/ }),
  521. /***/ 35599:
  522. /***/ ((module) => {
  523. module.exports = require("lodash/isArray");
  524. /***/ }),
  525. /***/ 35526:
  526. /***/ ((module) => {
  527. module.exports = require("lodash/random");
  528. /***/ }),
  529. /***/ 64042:
  530. /***/ ((module) => {
  531. module.exports = require("lodash/range");
  532. /***/ }),
  533. /***/ 47657:
  534. /***/ ((module) => {
  535. module.exports = require("lodash/sample");
  536. /***/ }),
  537. /***/ 18459:
  538. /***/ ((module) => {
  539. module.exports = require("lodash/uniq");
  540. /***/ }),
  541. /***/ 16641:
  542. /***/ ((module) => {
  543. module.exports = require("next-seo");
  544. /***/ }),
  545. /***/ 74137:
  546. /***/ ((module) => {
  547. module.exports = require("next-translate/Trans");
  548. /***/ }),
  549. /***/ 60866:
  550. /***/ ((module) => {
  551. module.exports = require("next-translate/useTranslation");
  552. /***/ }),
  553. /***/ 3280:
  554. /***/ ((module) => {
  555. module.exports = require("next/dist/shared/lib/app-router-context.js");
  556. /***/ }),
  557. /***/ 92796:
  558. /***/ ((module) => {
  559. module.exports = require("next/dist/shared/lib/head-manager-context.js");
  560. /***/ }),
  561. /***/ 3539:
  562. /***/ ((module) => {
  563. module.exports = require("next/dist/shared/lib/i18n/detect-domain-locale.js");
  564. /***/ }),
  565. /***/ 34014:
  566. /***/ ((module) => {
  567. module.exports = require("next/dist/shared/lib/i18n/normalize-locale-path.js");
  568. /***/ }),
  569. /***/ 78524:
  570. /***/ ((module) => {
  571. module.exports = require("next/dist/shared/lib/is-plain-object.js");
  572. /***/ }),
  573. /***/ 95832:
  574. /***/ ((module) => {
  575. module.exports = require("next/dist/shared/lib/loadable.js");
  576. /***/ }),
  577. /***/ 78020:
  578. /***/ ((module) => {
  579. module.exports = require("next/dist/shared/lib/mitt.js");
  580. /***/ }),
  581. /***/ 64406:
  582. /***/ ((module) => {
  583. module.exports = require("next/dist/shared/lib/page-path/denormalize-page-path.js");
  584. /***/ }),
  585. /***/ 24964:
  586. /***/ ((module) => {
  587. module.exports = require("next/dist/shared/lib/router-context.js");
  588. /***/ }),
  589. /***/ 93431:
  590. /***/ ((module) => {
  591. module.exports = require("next/dist/shared/lib/router/utils/add-locale.js");
  592. /***/ }),
  593. /***/ 11751:
  594. /***/ ((module) => {
  595. module.exports = require("next/dist/shared/lib/router/utils/add-path-prefix.js");
  596. /***/ }),
  597. /***/ 46220:
  598. /***/ ((module) => {
  599. module.exports = require("next/dist/shared/lib/router/utils/compare-states.js");
  600. /***/ }),
  601. /***/ 10299:
  602. /***/ ((module) => {
  603. module.exports = require("next/dist/shared/lib/router/utils/format-next-pathname-info.js");
  604. /***/ }),
  605. /***/ 23938:
  606. /***/ ((module) => {
  607. module.exports = require("next/dist/shared/lib/router/utils/format-url.js");
  608. /***/ }),
  609. /***/ 29565:
  610. /***/ ((module) => {
  611. module.exports = require("next/dist/shared/lib/router/utils/get-asset-path-from-route.js");
  612. /***/ }),
  613. /***/ 35789:
  614. /***/ ((module) => {
  615. module.exports = require("next/dist/shared/lib/router/utils/get-next-pathname-info.js");
  616. /***/ }),
  617. /***/ 1897:
  618. /***/ ((module) => {
  619. module.exports = require("next/dist/shared/lib/router/utils/is-bot.js");
  620. /***/ }),
  621. /***/ 1428:
  622. /***/ ((module) => {
  623. module.exports = require("next/dist/shared/lib/router/utils/is-dynamic.js");
  624. /***/ }),
  625. /***/ 28854:
  626. /***/ ((module) => {
  627. module.exports = require("next/dist/shared/lib/router/utils/parse-path.js");
  628. /***/ }),
  629. /***/ 91292:
  630. /***/ ((module) => {
  631. module.exports = require("next/dist/shared/lib/router/utils/parse-relative-url.js");
  632. /***/ }),
  633. /***/ 34567:
  634. /***/ ((module) => {
  635. module.exports = require("next/dist/shared/lib/router/utils/path-has-prefix.js");
  636. /***/ }),
  637. /***/ 80979:
  638. /***/ ((module) => {
  639. module.exports = require("next/dist/shared/lib/router/utils/querystring.js");
  640. /***/ }),
  641. /***/ 93297:
  642. /***/ ((module) => {
  643. module.exports = require("next/dist/shared/lib/router/utils/remove-trailing-slash.js");
  644. /***/ }),
  645. /***/ 36052:
  646. /***/ ((module) => {
  647. module.exports = require("next/dist/shared/lib/router/utils/resolve-rewrites.js");
  648. /***/ }),
  649. /***/ 84226:
  650. /***/ ((module) => {
  651. module.exports = require("next/dist/shared/lib/router/utils/route-matcher.js");
  652. /***/ }),
  653. /***/ 95052:
  654. /***/ ((module) => {
  655. module.exports = require("next/dist/shared/lib/router/utils/route-regex.js");
  656. /***/ }),
  657. /***/ 59232:
  658. /***/ ((module) => {
  659. module.exports = require("next/dist/shared/lib/utils.js");
  660. /***/ }),
  661. /***/ 40968:
  662. /***/ ((module) => {
  663. module.exports = require("next/head");
  664. /***/ }),
  665. /***/ 71853:
  666. /***/ ((module) => {
  667. module.exports = require("next/router");
  668. /***/ }),
  669. /***/ 16689:
  670. /***/ ((module) => {
  671. module.exports = require("react");
  672. /***/ }),
  673. /***/ 2784:
  674. /***/ ((module) => {
  675. module.exports = require("react-hotkeys-hook");
  676. /***/ }),
  677. /***/ 6022:
  678. /***/ ((module) => {
  679. module.exports = require("react-redux");
  680. /***/ }),
  681. /***/ 78404:
  682. /***/ ((module) => {
  683. module.exports = require("react-virtuoso");
  684. /***/ }),
  685. /***/ 20997:
  686. /***/ ((module) => {
  687. module.exports = require("react/jsx-runtime");
  688. /***/ }),
  689. /***/ 14161:
  690. /***/ ((module) => {
  691. module.exports = require("redux-persist");
  692. /***/ }),
  693. /***/ 52648:
  694. /***/ ((module) => {
  695. module.exports = require("refresh-fetch");
  696. /***/ }),
  697. /***/ 82522:
  698. /***/ ((module) => {
  699. module.exports = require("xstate");
  700. /***/ }),
  701. /***/ 44549:
  702. /***/ ((module) => {
  703. module.exports = require("xstate/lib/actions");
  704. /***/ }),
  705. /***/ 11601:
  706. /***/ ((module) => {
  707. module.exports = import("@radix-ui/react-checkbox");;
  708. /***/ }),
  709. /***/ 74973:
  710. /***/ ((module) => {
  711. module.exports = import("@radix-ui/react-collapsible");;
  712. /***/ }),
  713. /***/ 77715:
  714. /***/ ((module) => {
  715. module.exports = import("@radix-ui/react-dialog");;
  716. /***/ }),
  717. /***/ 31481:
  718. /***/ ((module) => {
  719. module.exports = import("@radix-ui/react-dropdown-menu");;
  720. /***/ }),
  721. /***/ 98680:
  722. /***/ ((module) => {
  723. module.exports = import("@radix-ui/react-popover");;
  724. /***/ }),
  725. /***/ 4086:
  726. /***/ ((module) => {
  727. module.exports = import("@radix-ui/react-radio-group");;
  728. /***/ }),
  729. /***/ 72994:
  730. /***/ ((module) => {
  731. module.exports = import("@radix-ui/react-separator");;
  732. /***/ }),
  733. /***/ 66704:
  734. /***/ ((module) => {
  735. module.exports = import("@radix-ui/react-tooltip");;
  736. /***/ }),
  737. /***/ 28560:
  738. /***/ ((module) => {
  739. module.exports = import("@radix-ui/react-visually-hidden");;
  740. /***/ }),
  741. /***/ 88813:
  742. /***/ ((module) => {
  743. module.exports = import("firebase/compat/analytics");;
  744. /***/ }),
  745. /***/ 33773:
  746. /***/ ((module) => {
  747. module.exports = import("firebase/compat/app");;
  748. /***/ }),
  749. /***/ 69915:
  750. /***/ ((module) => {
  751. module.exports = import("js-cookie");;
  752. /***/ }),
  753. /***/ 45641:
  754. /***/ ((module) => {
  755. module.exports = import("react-hook-form");;
  756. /***/ }),
  757. /***/ 35517:
  758. /***/ ((module) => {
  759. module.exports = import("react-joyride");;
  760. /***/ }),
  761. /***/ 3590:
  762. /***/ ((module) => {
  763. module.exports = import("react-toastify");;
  764. /***/ }),
  765. /***/ 15941:
  766. /***/ ((module) => {
  767. module.exports = import("swr");;
  768. /***/ }),
  769. /***/ 79847:
  770. /***/ ((module) => {
  771. module.exports = import("swr/immutable");;
  772. /***/ }),
  773. /***/ 63477:
  774. /***/ ((module) => {
  775. module.exports = require("querystring");
  776. /***/ })
  777. };
  778. ;
  779. // load runtime
  780. var __webpack_require__ = require("../../webpack-runtime.js");
  781. __webpack_require__.C(exports);
  782. var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
  783. var __webpack_exports__ = __webpack_require__.X(0, [11497,79165,96954,96270,24709,57933,61239,25869,50497,76410,79717,13830,37883,22197,12951,36049,85949,62093,91308,41051,99163,5639,42752,46570,64564,57072,37013,67972,6094,17543,66151,39508], () => (__webpack_exec__(63045)));
  784. module.exports = __webpack_exports__;
  785. })();
  786. //# sourceMappingURL=[pageId].js.map